using System;
using System.Collections.Generic;
using Dict.DataModel;

namespace Dict.Dao
{
    public class TableBuffExplainationDao:DaoBase<TableBuffExplaination>
    {
        public override void AddPrimaryIndex(TableBuffExplaination model)
        {
            cachePrimary[model.BuffId.ToString()] = model;
        }

        public override string GetFileName()
        {
            return "TableBuffExplaination.txt";
        }

        protected override TableBuffExplaination ParseRowData(string[] rowData)
        {
            TableBuffExplaination data = new TableBuffExplaination();
			data.BuffId = rowData [0];
			data.BuffIcon = rowData [1];
			data.BuffName = rowData [2];
			data.BuffDesc = rowData [3];

            return data;
        }



    }

}
